Summary 4

February 8, 2024 | Chapters 3 and 12


Topic 1: The three different kinds of lists in HTML.

The first kind of list is called ordered list and this is where each item in the list is numbered these are created with the (ol) tag and each item is placed in between a (li) tag. Unordered lists begin with bullet points instead of numbers that indicate order these are created with the (ul) tag and like numbered list each item is contained by th (li) tag. The last kind of lists are definition lists which are made up of a set of terms along with the definitions for each of those terms these are created with the (dl) tag. If needed lists can be nested inside one another.


Topic 2: Choosing a typeface for your website.

It is important to understand that when choosing a typeface that a browser will usually only display it if it’s installed on that viewers computer. Most sites use a small set of typefaces that are installed on most computers. You can specify more than one typeface and create an order of importance, this is sometimes referred to as font stack. Al browsers are supposed to support one typeface from each category so to be safe you can write your CSS with the generic font name after your preferred choice: font-family: Georgia, times, serif;


Topic 3: You can assign certain attributes to certain text.

You can assign Text size or boldness and other characterizations to certain h tags in two different sections. For example if you want h2 to look one way in the header and h2 to look differently in the body then you can assign that in CSS by assigning the section and h2 then defining what you want to change. You can also change font weight, uppercase and lowercase, underline, strike, leading, drop shadows, and word spacing. You can also change the states of links in the CSS using the a: link in different states like visited, hover, and active this will change how your linked text looks to users using your site.